package com.gxgeek.userserver;

import com.gxgeek.userserver.constant.CookieConstant;
import com.gxgeek.userserver.constant.RedisConstant;
import com.gxgeek.userserver.dataobject.UserInfo;
import com.gxgeek.userserver.enums.ResultEnum;
import com.gxgeek.userserver.enums.RoleEnum;
import com.gxgeek.userserver.service.UserService;
import com.gxgeek.userserver.util.CookieUtil;
import com.gxgeek.userserver.vo.ResultVO;
import com.gxgeek.userserver.vo.ResultVOUtil;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.UUID;
import java.util.concurrent.TimeUnit;

@EnableDiscoveryClient
@SpringBootApplication
@RestController
public class UserApplication {

	public static void main(String[] args) {
		SpringApplication.run(UserApplication.class, args);
	}



}
